using SqlSugar;

namespace ByteSite.Entitys
{
    /// <summary>
    /// 系统导航菜单
    /// </summary>
    public class dt_navigation
    {
        /// <summary>
        /// 系统导航菜单
        /// </summary>
        public dt_navigation()
        {
        }

        /// <summary>
        /// 自增ID
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public System.Int32 id { get; set; }

        /// <summary>
        /// 所属父导航ID
        /// </summary>
        public System.Int32? parent_id { get; set; }

        /// <summary>
        /// 所属频道ID
        /// </summary>
        public System.Int32? channel_id { get; set; }

        /// <summary>
        /// 导航类别
        /// </summary>
        public System.String nav_type { get; set; }

        /// <summary>
        /// 导航ID
        /// </summary>
        public System.String name { get; set; }

        /// <summary>
        /// 标题
        /// </summary>
        public System.String title { get; set; }

        /// <summary>
        /// 副标题
        /// </summary>
        public System.String sub_title { get; set; }

        /// <summary>
        /// 图标地址
        /// </summary>
        public System.String icon_url { get; set; }

        /// <summary>
        /// 链接地址
        /// </summary>
        public System.String link_url { get; set; }

        /// <summary>
        /// 排序数字
        /// </summary>
        public System.Int32? sort_id { get; set; }

        /// <summary>
        /// 是否隐藏0显示1隐藏
        /// </summary>
        public System.Int32? is_lock { get; set; }

        /// <summary>
        /// 备注说明
        /// </summary>
        public System.String remark { get; set; }

        /// <summary>
        /// 权限资源
        /// </summary>
        public System.String action_type { get; set; }

        /// <summary>
        /// 系统默认
        /// </summary>
        public System.Int32? is_sys { get; set; }

        [SugarColumn(IsIgnore = true)]
        public System.Int32? class_layer { get; set; }
    }
}